﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Plane:Vehcial,IFlyable
    {
        public Plane(string type) :base(type)
        { }

        public void Fly()
        {
            Console.WriteLine("{0}是不会说话的是吧",type);
        }

        public void Land()
        {
            Console.WriteLine("{0}是不会说话的是吧", type);
        }

        public void TakeOff()
        {
            Console.WriteLine("{0}是不会说话的是吧", type);
        }
    }
}
